home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / Samples / Formulas / Shader.txt < prev    next >
Encoding:
Text File  |  1997-06-04  |  103 b   |  6 lines

  1. a=2*x+PI/2;
  2. b=2*y+2*PI*p1;
  3. c=2*z+2*PI*p2;
  4. red=(1+sin(a))/2;
  5. green=(1+sin(b))/2;
  6. blue=(1+sin(c))/2;